import {LocaleProvider} from "antd";
import zhCN from 'antd/lib/locale-provider/zh_CN';
import withRouter from "umi/withRouter";
import App from "./App";

function BasicLayout(props) {
  return (
    <LocaleProvider locale={zhCN}>
      <App>
        { props.children }
      </App>
    </LocaleProvider>
  );
}

export default BasicLayout;
